package com.baosight.risk.service.code.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_SQL_CODE
 */
@Data
@ApiModel
@Table(name = "T_SQL_CODE")
public class SqlCode implements Serializable {
    /**
     * Table:     T_SQL_CODE
     * Column:    SQLCODE
     * Nullable:  true
     */
    @ApiModelProperty("SQLCODE")
    @Column(name = "SQLCODE")
    private String sqlcode;

    /**
     * Table:     T_SQL_CODE
     * Column:    SQLSTATE
     * Nullable:  true
     */
    @ApiModelProperty("SQLSTATE")
    @Column(name = "SQLSTATE")
    private String sqlstate;

    /**
     * Table:     T_SQL_CODE
     * Column:    EXPLAIN
     * Nullable:  true
     */
    @ApiModelProperty("EXPLAIN")
    @Column(name = "EXPLAIN")
    private String explain;

    private static final long serialVersionUID = 1L;
}